<?php
$s='I\'m a student\\\\teacher.\n';
echo $s,"\n";
$s="He say:\"I'm \141 student.\"\n";
echo $s;
var_dump('z'>'a');
$s=<<<'XXXYYYZZZ'
<?php
$s='I\'m a student\\\\teacher.\n';
echo $s,"\n";
$s="He say:\"I'm \141 student.\"\n";
echo $s;
XXXYYYZZZ;
echo $s, "------OVER---------\n";
$s="计算机0Aa";
echo strlen($s),"\n";
echo ord("0123"),"\n";
echo substr($s,9),"\n";
echo substr($s,6,5),"\n";
printf("My name is %s,I'm %d year old.\n","sunrui",18);
printf("[%d] [%5d] [%-5d] [%05d] [%X] [%04X]\n",26,26,26,26,26,26);
for($i=0,$len=strlen($s);$i<$len;$i++){
  printf("%02x",ord($s[$i]));
}
$go="去";
$good="好";
echo "go的意思是：$go\n";
echo "go的意思是：\$go\n";
echo "good的意思是：$good\n";
echo "good的意思是：{$go}od\n";
echo "good的意思是：{$go}od\n";
$a=[243110122,'name'=>'孙睿','age'=>18];
echo "";
